﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="Admin.master" CodeFile="EditProduct.aspx.cs" Inherits="Admin_EditProduct" %>

<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<asp:content runat="server" contentplaceholderid="meta">
    <meta name="description" content="Edit Product" />
    <meta name="keywords" content="Edit Product" />
</asp:content>
<asp:content runat="server" contentplaceholderid="title">
    Edit Product</asp:content>
<asp:content runat="server" contentplaceholderid="head">
    <!-- Link shortcut icon-->
        <link rel="shortcut icon" type="image/ico" href="images/favicon2.html" /> 
        <!-- Link css-->
        <link href="jui/css/jquery.ui.theme.css" rel="stylesheet" type="text/css" />
        <link rel="stylesheet" type="text/css" href="css/zice.style.css"/>
        <link rel="stylesheet" type="text/css" href="css/icon.css"/>
        <link rel="stylesheet" type="text/css" href="css/ui-custom.css"/>
        <link rel="stylesheet" type="text/css" href="css/timepicker.css"  />
        <link rel="stylesheet" type="text/css" href="components/colorpicker/css/colorpicker.css"  />
        <link rel="stylesheet" type="text/css" href="components/elfinder/css/elfinder.css" />
        <link rel="stylesheet" type="text/css" href="components/datatables/dataTables.css"  />
        <link rel="stylesheet" type="text/css" href="components/validationEngine/validationEngine.jquery.css" />
         
        <link rel="stylesheet" type="text/css" href="components/jscrollpane/jscrollpane.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="components/fancybox/jquery.fancybox.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="components/tipsy/tipsy.css" media="all" />
        <link rel="stylesheet" type="text/css" href="components/editor/jquery.cleditor.css"  />
        <link rel="stylesheet" type="text/css" href="components/chosen/chosen.css" />
        <link rel="stylesheet" type="text/css" href="components/confirm/jquery.confirm.css" />
        <link rel="stylesheet" type="text/css" href="components/sourcerer/sourcerer.css"/>
        <link rel="stylesheet" type="text/css" href="components/fullcalendar/fullcalendar.css"/>
        <link rel="stylesheet" type="text/css" href="components/Jcrop/jquery.Jcrop.css"  />
        <link href="css/dandelion.css" rel="stylesheet" type="text/css" />
        
        <link rel="stylesheet" type="text/css" href="css/Style.css"  />
   
        
        <!--[if lte IE 8]><script language="javascript" type="text/javascript" src="components/flot/excanvas.min.js"></script><![endif]-->
        
        <script type="text/javascript" src="js/jquery.min.js"></script>
        <script type="text/javascript" src="components/ui/jquery.ui.min.js"></script> 
        <script type="text/javascript" src="components/ui/jquery.autotab.js"></script>
        
        <script type="text/javascript" src="components/colorpicker/js/colorpicker.js"></script>
        <script type="text/javascript" src="components/checkboxes/iphone.check.js"></script>
        <script type="text/javascript" src="components/elfinder/js/elfinder.full.js"></script>
        <script type="text/javascript" src="components/datatables/dataTables.min.js"></script>
        <script type="text/javascript" src="components/datatables/ColVis.js"></script>
        
        <script type="text/javascript" src="components/scrolltop/scrolltopcontrol.js"></script>
        <script type="text/javascript" src="components/fancybox/jquery.fancybox.js"></script>
        <script type="text/javascript" src="components/jscrollpane/mousewheel.js"></script>
        <script type="text/javascript" src="components/jscrollpane/mwheelIntent.js"></script>
        <script type="text/javascript" src="components/jscrollpane/jscrollpane.min.js"></script>
        <script type="text/javascript" src="components/spinner/ui.spinner.js"></script>
        <script type="text/javascript" src="components/tipsy/jquery.tipsy.js"></script>
        <script type="text/javascript" src="components/editor/jquery.cleditor.js"></script>
        <script type="text/javascript" src="components/chosen/chosen.js"></script>
        <script type="text/javascript" src="components/confirm/jquery.confirm.js"></script>
        <script type="text/javascript" src="components/validationEngine/jquery.validationEngine.js" ></script>
        <script type="text/javascript" src="components/validationEngine/jquery.validationEngine-en.js" ></script>
        <script type="text/javascript" src="components/vticker/jquery.vticker-min.js"></script>
        <script type="text/javascript" src="components/sourcerer/sourcerer.js"></script>
        <script type="text/javascript" src="components/fullcalendar/fullcalendar.js"></script>
        <script type="text/javascript" src="components/flot/flot.js"></script>
        <script type="text/javascript" src="components/flot/flot.pie.min.js"></script>
        <script type="text/javascript" src="components/flot/flot.resize.min.js"></script>
        <script type="text/javascript" src="components/flot/graphtable.js"></script>
        
        <script src="jui/js/jquery-ui-1.8.20.min.js" type="text/javascript"></script>
        <script src="plugins/validate/jquery.validate.min.js" type="text/javascript"></script>
        <script src="plugins/validate/jquery.validate.js" type="text/javascript"></script>
        <script src="js/demo.ui.js" type="text/javascript"></script>
        <link href="jui/css/jquery.ui.dialog.css" rel="stylesheet" type="text/css" />
        <link href="jui/css/jquery.ui.button.css" rel="stylesheet" type="text/css" />

        <script type="text/javascript" src="components/uploadify/swfobject.js"></script>
        <script type="text/javascript" src="components/uploadify/uploadify.js"></script>        
        <script type="text/javascript" src="components/checkboxes/customInput.jquery.js"></script>
        <script type="text/javascript" src="components/effect/jquery-jrumble.js"></script>
        <script type="text/javascript" src="components/filestyle/jquery.filestyle.js" ></script>
        <script type="text/javascript" src="components/placeholder/jquery.placeholder.js" ></script>
		<script type="text/javascript" src="components/Jcrop/jquery.Jcrop.js" ></script>
        <script type="text/javascript" src="components/imgTransform/jquery.transform.js" ></script>
        <script type="text/javascript" src="components/webcam/webcam.js" ></script>
		<script type="text/javascript" src="components/rating_star/rating_star.js"></script>
		<script type="text/javascript" src="components/dualListBox/dualListBox.js"  ></script>
		<script type="text/javascript" src="components/smartWizard/jquery.smartWizard.min.js"></script>
        <script type="text/javascript" src="js/jquery.cookie.js"></script>
        <script type="text/javascript" src="js/zice.custom.js"></script>
        
        
        <script src="js/demo.validation.js" type="text/javascript"></script>
        <script src="../Scripts/Library.js" type="text/javascript"></script>
        <script src="js/scripts.js" type="text/javascript"></script>
        <script src="js/fileupload/ajaxupload.3.5.js" type="text/javascript"></script>
    <script type="text/javascript" src="components/ui/timepicker.js"></script>
    <link href="js/fileupload/styles.css" rel="stylesheet" type="text/css" />
    
</asp:content>
<asp:content runat="server" contentplaceholderid="Maincontent">
    <div class="onecolumn">
        <div class="header">
            <span><span class="ico  gray random"></span>Edit Product </span><a class="uibutton icon prev"
                style="margin: 5px 0px 0px 20px" href="Product.aspx">Back</a>
            <asp:Button runat="server" ID="btnSubmit" CssClass="uibutton save_button" Text="Update"
                OnClick="btnSubmit_Click" />
        </div>
        <!-- End header -->
        <div class=" clear">
        </div>
        <div class="content">
            <div id="uploadTab">
                <ul class="tabs">
                    <li><a href="#tab1" id="1">General </a></li>
                    <li><a href="#tab2" id="2">Color</a></li>
                    <li><a href="#tab3" id="3">Address</a></li>
                    <li><a href="#tab4" id="4">HD Su dung</a></li>
                    <li><a href="#tab5" id="5">Images</a></li>
                    <li><a href="#tab6" id="6">News</a></li>
                    <li><a href="#tab7" id="7">Phu kien</a></li>
                    <li><a href="#tab8" id="8">Relate</a></li>
                    <li><a href="#tab9" id="9">Tinh nang</a></li>
                    <li><a href="#tab10" id="10">Loại danh mục</a></li>
                </ul>
                <div class="tab_container">
                    <div id="tab1" class="tab_content">
                        <div class="load_page">
                            <div class="tableName">
                                <div id="da-ex-dialog-form-divsdaf" class="no-padding">
                                    <div id="da-validate-error" class="da-message error" style="display: none;">
                                    </div>
                                    <div class="da-form-inline">
                                        <div class="section da-form-row textonly large">
                                            <label>
                                                Model:</label>
                                            <div class="da-form-item large ">
                                                <asp:TextBox runat="server" ID="txtModel" CssClass="large autourl_faq"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="section da-form-row large url">
                                            <label>
                                                Url:</label>
                                            <div class="da-form-item large">
                                                <asp:TextBox runat="server" ID="txtUrl" CssClass="large urlauto"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="section da-form-row">
                                            <label>
                                               Category:</label>
                                            <div>
                                                <asp:DropDownList runat="server" ID="ddlCategory_1" Width="200">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="section da-form-row">
                                            <label>
                                                </label>
                                            <div>
                                                <asp:Image runat="server" ID="img_product" Height="150" Width="220"/>
                                                <div class="iconBox color delete_image_product" id="" original-title="cross"> <img src="images/icon/color_18/cross.png" alt="Delete"> </div>
                                            </div>
                                        </div>
                                        <div class="section ">
                                            <label>
                                                Image:
                                            </label>
                                            <div>
                                                <asp:FileUpload runat="server" CssClass="fileupload" ID="fileupload_product" />
                                                <asp:HiddenField runat="server" ID="product_value" />
                                                <span id="status_product"></span>
                                                <div id="files_product">
                                                </div>
                                                <script type="text/javascript">
                        var url_product = "";
                        $(function () {
                            var btnUpload = $('#Maincontent_fileupload_product');
                            var status = $('#status_product');
                            var folder = "<% Server.MapPath("~/Images/news/"); %>";
                            new AjaxUpload(btnUpload, {
                                action: '<% Response.Write(Request.Url.AbsoluteUri.Replace(Request.Url.AbsolutePath, "") + ResolveUrl("~")); %>Admin/UploadImageNews.aspx',
                                name: 'uploadfile',
                                onSubmit: function (file, ext) {
                                    if (!(ext && /^(jpg|png|jpeg|gif)$/.test(ext))) {
                                        // extension is not allowed 
                                        status.addClass("error").text('Only JPG, PNG or GIF files are allowed');
                                        return false;
                                    }
                                    status.text('Uploading...');
                                },
                                onComplete: function (file, response) {
                                    //On completion clear the status
                                    status.text('');
                                    //Add uploaded file to list
                                    if (response === "success") {
                                        var src = '<% Response.Write(Request.Url.AbsoluteUri.Replace(Request.Url.AbsolutePath, "") + ResolveUrl("~")); %>Images/news/' + file;
                                        url_phukien = '<% Response.Write(Request.Url.AbsoluteUri.Replace(Request.Url.AbsolutePath, "") + ResolveUrl("~")); %>Images/news/' + file;
                                        var image = "<img src='" + src + "'/>";
                                        var name = "<br/>" + file;
                                        var str = $("#Maincontent_product_value").val();
                                        $("#Maincontent_product_value").val(str+","+"Images/news/"+file);
                                        $('#files_product').html('Thêm image thành công').addClass('success');
                                    } else {
                                        $('#status_product').html('Thêm image gặp lỗi').addClass('error');
                                    }
                                }
                            });

                        });
                                                </script>
                                            </div>
                                        </div>
                                        <div class="section da-form-row large">
                                            <label>
                                                Description:</label>
                                            <div class="da-form-item large">
                                                <CKEditor:CKEditorControl runat="server" ID="ckeditor_description"></CKEditor:CKEditorControl>
                                            </div>
                                        </div>
                                        <div class="section da-form-row large">
                                            <label>
                                                Tag:</label>
                                            <div class="da-form-item large">
                                                <asp:TextBox runat="server" ID="txtTag" CssClass="large"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="section da-form-row floatonly large">
                                            <label>
                                                Price Input:</label>
                                            <div class="da-form-item large">
                                                <asp:TextBox runat="server" ID="txtPriceInputs" CssClass="large"></asp:TextBox>
                                            </div>
                                        </div>
                                        
                                        <div class="section da-form-row floatonly large">
                                            <label>
                                                Price Out:</label>
                                            <div class="da-form-item large">
                                                <asp:TextBox runat="server" ID="txtPriceOutputs" CssClass="large"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="section da-form-row numericonly large">
                                            <label>
                                                Quantity:</label>
                                            <div class="da-form-item large">
                                                <asp:TextBox runat="server" ID="txtQuantity" CssClass="large"></asp:TextBox>
                                            </div>
                                        </div>
                                        <div class="section da-form-row large">
                                            <label>
                                               Dia chi Bao hanh:</label>
                                            <div class="da-form-item large">                                                
                                                <asp:DropDownList runat="server" ID="ddlAddressBaohanh" CssClass="large" tabindex="4">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="section da-form-row numericonly large">
                                            <label>
                                                Bao hanh:</label>
                                            <div class="da-form-item large">
                                                <asp:DropDownList runat="server" ID="ddlBaohanh" CssClass="large" tabindex="4">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="section da-form-row">
                                            <label>
                                                Show top:</label>
                                            <div>
                                                <asp:CheckBox runat="server" ID="chkTop" Text="Show to home page" />
                                            </div>
                                        </div>
                                        <div class="section da-form-row">
                                            <label>
                                                Status:</label>
                                            <div>
                                                <asp:DropDownList runat="server" ID="ddlStatus" Width="200">
                                                    <asp:ListItem Value="1">Enable</asp:ListItem>
                                                    <asp:ListItem Value="0">Disable</asp:ListItem>
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="tab2" class="tab_content">
                        <div class="load_page">
                            <div class="tableName">
                                <div id="da-ex-dialog-form-divss" class="no-padding">
                                    <div id="da-validate-errorss" class="da-message error" style="display: none;">
                                    </div>
                                    <div class="da-form-inline">
                                        <div class="section">
                                            <label>
                                                Choose Color:</label>
                                            <div>
                                                <asp:ListBox runat="server" ID="lstColor" CssClass="large" 
                                                    SelectionMode="Multiple" ViewStateMode="Enabled" Enabled="True" Width="300" Height="400"></asp:ListBox>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="tab3" class="tab_content">
                        
                        
                        <div class="load_page">
                            
                            <div class="tableName">
                                <div id="da-ex-dialog-form-divss" class="no-padding">
                                    <div id="da-validate-errorss" class="da-message error" style="display: none;">
                                    </div>
                                    <div class="da-form-inline">
                                        <div class="section">
                                            <label>
                                                Choose Address:</label>
                                            <div>
                                                <asp:ListBox runat="server" ID="lstAddress" CssClass="large" 
                                                    SelectionMode="Multiple" ViewStateMode="Enabled" Enabled="True" Width="300" Height="400"></asp:ListBox>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            
                            
                        </div>
                    </div>
                    <div id="tab4" class="tab_content">
                        <div class="load_page">
                            <div class="tableName">
                                <div id="da-ex-dialog-form-divss" class="no-padding">
                                    <div id="da-validate-errorss" class="da-message error" style="display: none;">
                                    </div>
                                    <div class="da-form-inline">
                                        <div class="section">
                                            <label>
                                                Choose HDSD:</label>
                                            <div>
                                                <asp:ListBox runat="server" ID="lstHDSD" CssClass="large" 
                                                    SelectionMode="Multiple" ViewStateMode="Enabled" Enabled="True" Width="300" Height="400"></asp:ListBox>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            
                            
                            
                        </div>
                    </div>
                    <div id="tab5" class="tab_content">
                        <div class="load_page">
                            <% if (product_images!=null)
                               { %>
                                <% int i = 1;
                                   foreach (ProductImage item in product_images)
                                   {%>
                                <div class="section da-form-row large">
                                <label>
                                    Image <%= i++ %>:</label>
                                <div class="da-form-item large">
                                    <img src="<%= ResolveUrl("~/") + item.Image %>" class="img_product" id="product_images" height="150" width="300"/>
                                                
                                    <div class="iconBox color delete_image_product" id="<%= item.ProductImage_id %>" name="<%= item.Image %>" original-title="delete"> <img src="images/icon/color_18/cross.png" alt="Delete"> </div>
                                </div>
                            </div>
                                <% } %>
                            <% } %>
                            <div class="section ">
                                            <label>
                                                Image:
                                            </label>
                                            <div>
                                                <asp:FileUpload runat="server" CssClass="fileupload" ID="fileupload_images" />
                                                <asp:HiddenField runat="server" ID="images_values" />
                                                <span id="status_images"></span>
                                                <div id="files_images">
                                                </div>
                                                <script type="text/javascript">
                        var url_images = "";
                        $(function () {
                            var btnUpload = $('#Maincontent_fileupload_images');
                            var status = $('#status_images');
                            var folder = "<% Server.MapPath("~/Images/news/"); %>";
                            new AjaxUpload(btnUpload, {
                                action: '<% Response.Write(Request.Url.GetLeftPart(UriPartial.Authority) + ResolveUrl("~")); %>Admin/UploadImageNews.aspx',
                                name: 'uploadfile',
                                onSubmit: function (file, ext) {
                                    if (!(ext && /^(jpg|png|jpeg|gif)$/.test(ext))) {
                                        // extension is not allowed 
                                        status.addClass("error").text('Only JPG, PNG or GIF files are allowed');
                                        return false;
                                    }
                                    status.text('Uploading...');
                                },
                                onComplete: function (file, response) {
                                    //On completion clear the status
                                    status.text('');
                                    //Add uploaded file to list
                                    if (response === "success") {
                                        var src = '<% Response.Write(Request.Url.AbsoluteUri.Replace(Request.Url.AbsolutePath, "") + ResolveUrl("~")); %>Images/news/' + file;
                                        url_images = '<% Response.Write(Request.Url.AbsoluteUri.Replace(Request.Url.AbsolutePath, "") + ResolveUrl("~")); %>Images/news/' + file;
                                        var image = "<img src='" + src + "'/>";
                                        var name = "<br/>" + file;
                                        var img = $("#Maincontent_images_values").val();
                                        $("#Maincontent_images_values").val(img+","+"Images/news/"+file);
                                        $('#files_images').html('Thêm image thành công').addClass('success');
                                    } else {
                                        $('#status_images').html('Thêm image gặp lỗi').addClass('error');
                                    }
                                }
                            });

                        });
                                                </script>
                                            </div>
                                        </div>
                        </div>
                    </div>
                    <div id="tab6" class="tab_content">
                       <div class="load_page">
                                <div class="tableName">
                                <div id="da-ex-dialog-form-divss" class="no-padding">
                                    <div id="da-validate-errorss" class="da-message error" style="display: none;">
                                    </div>
                                    <div class="da-form-inline">
                                        <div class="section">
                                            <label>
                                                Choose News:</label>
                                            <div>
                                                <asp:ListBox runat="server" ID="lstNews" CssClass="large" 
                                                    SelectionMode="Multiple" ViewStateMode="Enabled" Enabled="True" Width="350" Height="400"></asp:ListBox>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="tab7" class="tab_content">
                        <div class="load_page">
                                <div class="tableName">
                                <div id="da-ex-dialog-form-divss" class="no-padding">
                                    <div id="da-validate-errorss" class="da-message error" style="display: none;">
                                    </div>
                                    <div class="da-form-inline">
                                        <div class="section">
                                            <label>
                                                Choose News:</label>
                                            <div>
                                                <asp:ListBox runat="server" ID="lstPhukien" CssClass="large" 
                                                    SelectionMode="Multiple" ViewStateMode="Enabled" Enabled="True" Width="350" Height="400"></asp:ListBox>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="tab8" class="tab_content">
                        <div class="load_page">
                                <div class="tableName">
                                <div id="da-ex-dialog-form-divss" class="no-padding">
                                    <div id="da-validate-errorss" class="da-message error" style="display: none;">
                                    </div>
                                    <div class="da-form-inline">
                                        <div class="section">
                                            <label>
                                                Choose News:</label>
                                            <div>
                                                <asp:ListBox runat="server" ID="lstRelate" CssClass="large" 
                                                    SelectionMode="Multiple" ViewStateMode="Enabled" Enabled="True" Width="350" Height="400"></asp:ListBox>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div id="tab9" class="tab_content">
                        <div class="load_page">
                                <div class="formEl_b">
                                <fieldset >
                                <legend>Thông tin cơ bản</legend>
                                      <div class="section">
                                      <label>Tính năng nổi bật</label>   
                                      <div>
                                       <CKEditor:CKEditorControl runat="server" ID="ckeditor_tinhnangnoibat"></CKEditor:CKEditorControl>
                                       
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label>Trạng thái phát hành</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtTrangthaiphat" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label> Ngày công bố</label>   
                                      <div> 
                                       <asp:TextBox runat="server" ID="txtNgaycongbo" CssClass="large"></asp:TextBox>
   
                                      </div>
                                     </div>
                                      <div class="section ">
                                      <label> Ngày phát hành</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtNgayphatphat" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label>Băng tần hỗ trợ</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtBangtan" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>                                  
                                </fieldset>
                                <fieldset >
                                <legend>Kích thước & khối lượng</legend>
                                      <div class="section">
                                      <label>Chiều dài (mm)</label>   
                                      <div>
                                       <asp:TextBox runat="server" ID="txtChieudai" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label>Chiều rộng (mm)</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtChieurong" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label> Chiều cao (mm)</label>   
                                      <div> 
                                       <asp:TextBox runat="server" ID="txtChieucao" CssClass="large"></asp:TextBox>
   
                                      </div>
                                     </div>
                                      <div class="section ">
                                      <label>Cân nặng (g)</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtCannang" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>                                  
                                </fieldset>
                                <fieldset >
                                <legend>Màn hình & hiển thị</legend>
                                      <div class="section">
                                      <label>Kiểu màn hình</label>   
                                      <div>
                                       <asp:TextBox runat="server" ID="txtKieumanhinh" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label>Kích thước màn hình</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtKichthuocmanhinh" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label> Độ phân giải màn hình</label>   
                                      <div> 
                                       <asp:TextBox runat="server" ID="txtDophangiai" CssClass="large"></asp:TextBox>
   
                                      </div>
                                     </div>
                                      <div class="section ">
                                      <label>Cảm ứng</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtCamung" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                     <div class="section">
                                      <label>Các tính năng khác</label>   
                                      <div>
                                       <CKEditor:CKEditorControl runat="server" ID="ckeditor_tinhnangkhac"></CKEditor:CKEditorControl>
                                       
                                      </div>
                                     </div>                                 
                                </fieldset>
                                <fieldset >
                                <legend>Nhạc chuông</legend>
                                      <div class="section">
                                      <label>Báo cuộc gọi, tin nhắn</label>   
                                      <div>
                                       <asp:TextBox runat="server" ID="txtTinnhan" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label>Jack cắm audio</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtJackcam" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label> Có thể tải thêm nhạc chuông</label>   
                                      <div> 
                                       <asp:TextBox runat="server" ID="txtTainhacchuong" CssClass="large"></asp:TextBox>
   
                                      </div>
                                     </div>
                                      <div class="section ">
                                      <label>Có loa ngoài</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtLoangoai" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>                                
                                </fieldset>
                                <fieldset >
                                <legend>Lưu trữ & bộ nhớ</legend>
                                      <div class="section">
                                      <label>Danh bạ có thể lưu trữ</label>   
                                      <div>
                                       <asp:TextBox runat="server" ID="txtDanhbaluutru" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label>Hỗ trợ SMS</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtHotrosms" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label> Hỗ trợ Email</label>   
                                      <div> 
                                       <asp:TextBox runat="server" ID="txtHotroemail" CssClass="large"></asp:TextBox>
   
                                      </div>
                                     </div>
                                      <div class="section ">
                                      <label>Bộ nhớ trong</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtBonhotrong" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Dung lượng thẻ nhớ tối đa</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtDungluongthenho" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Loại thẻ nhớ hỗ trợ</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtLoaithenho" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>                                
                                </fieldset>
                                <fieldset >
                                <legend>Dữ liệu & Kết nối</legend>
                                      <div class="section">
                                      <label>Mạng GPRS</label>   
                                      <div>
                                       <asp:TextBox runat="server" ID="txtGprs" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label>Mạng EDGE</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtEdge" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label> Hỗ trợ 3G</label>   
                                      <div> 
                                       <asp:TextBox runat="server" ID="txtBag" CssClass="large"></asp:TextBox>
   
                                      </div>
                                     </div>
                                      <div class="section ">
                                      <label>Trình duyệt web</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtWeb" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Hệ thống định vị GPS</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtGps" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Bluetooth</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtBluetooth" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>  
                                     <div class="section ">
                                      <label>Wifi</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtWifi" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Hồng ngoại</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtHongngoai" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Kết nối USB</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtUsb" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>                               
                                </fieldset>
                                 <fieldset >
                                <legend>Giải trí & Đa phương tiện</legend>
                                      <div class="section">
                                      <label>Máy ảnh chính</label>   
                                      <div>
                                       <asp:TextBox runat="server" ID="txtMayanhchinh" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label>Tính năng khác của máy ảnh</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtMayanhkhac" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label> Máy ảnh phụ</label>   
                                      <div> 
                                       <asp:TextBox runat="server" ID="txtMayanhphu" CssClass="large"></asp:TextBox>
   
                                      </div>
                                     </div>
                                      <div class="section ">
                                      <label>Quay phim tiêu chuẩn</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtQuayphim" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Nghe nhạc định dạng</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtNghenhac" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Xem phim định dạng</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtXemphim" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>  
                                     <div class="section ">
                                      <label>Nghe FM Radio</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtRadio" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Xem tivi</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtTivi" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Kết nối Tivi</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtKetnoitivi" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>                               
                                </fieldset>
                                <fieldset >
                                <legend>Ứng dụng & Trò chơi</legend>
                                      <div class="section">
                                      <label>Ghi âm cuộc gọi</label>   
                                      <div>
                                       <asp:TextBox runat="server" ID="txtGhiam" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label>Lưu trữ cuộc gọi</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtLuutrucuoigoi" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label>Phần mềm ứng dụng văn phòng</label>   
                                      <div> 
                                       <asp:TextBox runat="server" ID="txtUngdungvanphong" CssClass="large"></asp:TextBox>
   
                                      </div>
                                     </div>
                                      <div class="section ">
                                      <label>Phần mềm ứng dụng khác</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtUngdungkhac" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Trò chơi</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtTrochoi" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Hỗ trợ nhiều sim</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtHotrosim" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>  
                                     <div class="section ">
                                      <label>Hỗ trợ java</label>   
                                      <div> 
                                         <asp:TextBox runat="server" ID="txtHotrojava" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>                               
                                </fieldset>
                                <fieldset >
                                <legend>Thông tin chung</legend>
                                      <div class="section">
                                      <label>Kiểu dáng điện thoại</label>   
                                      <div>
                                       <asp:TextBox runat="server" ID="txtKieudang" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label>Hệ điều hành</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtHedieuhanh" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label>Phiên bản hệ điều hành</label>   
                                      <div> 
                                       <asp:TextBox runat="server" ID="txtPhienbanhedieuhanh" CssClass="large"></asp:TextBox>
   
                                      </div>
                                     </div>
                                      <div class="section ">
                                      <label>Chip xử lý (CPU)</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtCpu" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Ram</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtRam" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Ngôn ngữ hỗ trợ</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtNgonngu" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>  
                                     <div class="section ">
                                      <label>Bàn phím Qwerty hỗ trợ</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtQwerty" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Phù hợp với các mạng</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtHotromang" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>                               
                                </fieldset>
                                <fieldset >
                                <legend>Nguồn</legend>
                                      <div class="section">
                                      <label>Loại pin sử dụng</label>   
                                      <div>
                                       <asp:TextBox runat="server" ID="txtLoaipin" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label>Dung lượng pin (mAh)</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtDungluongpin" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>
                                      <div class="section">
                                      <label>Thời gian chờ 2G (giờ)</label>   
                                      <div> 
                                      <asp:TextBox runat="server" ID="txtThoigiancho2g" CssClass="large"></asp:TextBox>
   
                                      </div>
                                     </div>
                                      <div class="section ">
                                      <label>Thời gian chờ 3G (giờ)</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtThoigiancho3g" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Thời gian đàm thoại 2G (giờ)</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtDamthoai2g" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div> 
                                     <div class="section ">
                                      <label>Thời gian đàm thoại 3G (giờ)</label>   
                                      <div> 
                                          <asp:TextBox runat="server" ID="txtDamthoai3g" CssClass="large"></asp:TextBox>
                                      </div>
                                     </div>                                 
                                </fieldset>

                                </div>
                        </div>
                    </div>
                    <div id="tab10" class="tab_content">
                        <div class="load_page">
                                <div class="tableName">
                                <div id="da-ex-dialog-form-divss" class="no-padding">
                                    <div id="da-validate-errorss" class="da-message error" style="display: none;">
                                    </div>
                                    <div class="da-form-inline">
                                        <div class="section">
                                            <label>
                                                Choose News:</label>
                                            <div>
                                                <asp:ListBox runat="server" ID="lstLoaidanhmuc" CssClass="large" 
                                                    SelectionMode="Multiple" ViewStateMode="Enabled" Enabled="True" Width="350"></asp:ListBox>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="clear" />
        </div>
    </div>
</asp:content>
